<%@page contentType="text/html;charset=utf8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<title>url shortener</title>
</head>
<body>
<p>/api/short?url=xxx: 缩短网址接口。url是要缩短的长网址；</p>
<p>/api/long?url=xxx: 查询长网址接口。url是短网址或编码，反正最终也是通过编码去查的；</p>
<p>/{surl}: 短网址访问接口。 调用她就会跳转到长网址去咯哟。</p>

<p><b>author:</b>hh.suse@gmail.com</p>

<a href="http://git.oschina.net/crystony/url-shortener" target="_blank">source code</a>
</body>
</html>